<?php
require_once 'TVB/WebServiceServer/WebServiceServer.php';
require_once 'TVB/VideoInfrastructure/Server/requires.php';
require_once 'VideoInfrastructureWebServiceServer.php';

$config = ConfigReaderFactory::getInstance()->getConfigReader(VideoInfrastructureServerConfig::WEB_SERVICE_CONFIG_FILE)->getConfig();
//$server = new VideoInfrastructureWebServiceServer($config->webservice->key, $config->webservice->version);
$server = new WebServiceServer($config->webservice->key, $config->webservice->version);
$server->process();
?>
